package com.heima.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 点位表实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_node")
public class Node  {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;


    private String addr;


    private String areaCode;


    private Integer createUserId;


    private Long regionId;

    private Integer businessId;


    private Long ownerId;


    private String ownerName;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}